

class BatchProcessor:



    @staticmethod
    def batch_processor(batch_list,batch_size):
        task = [batch_list[i:i + batch_size] for i in range(0, len(batch_list), batch_size)]
        return task